/**
 * @filename HuJiaoShare
 *
 * @module
 *
 * @author Justin <zhou78620051@126.com>
 * @version 1
 * @time 2015/10/18 15:58
 */

module.exports = {
  attributes: {
    "user_id": {"type": "string"},
    "user_pic": {"type": "string"},
    "nick_name": {"type": "string"},
    "location": {"type": "string"},

    "msg_id": {"type": "string", "primaryKey": true, "required": true},
    "msg_type": {"type": "string", "enum": ["T", "S", "P"], "defaultsTo": "T"},
    "content_url": {"type": "string"},
    "content_text": {"type": "string"},
    "send_time": {"type": "string"},

    "comment_list": {"type": "array"}
  }
};
